mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-10 22:24:12 +01:00
3c82560621
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4061
30 lines
847 B
Makefile
30 lines
847 B
Makefile
CC=gcc
|
|
CCFLAGS=-c -g -I.. -DSH_DEBUG
|
|
|
|
test.bin: bin bin/main.o bin/test1.o bin/test2.o bin/test3.o bin/test4.o bin/sourcehook.o
|
|
$(CC) bin/main.o bin/test1.o bin/test2.o bin/test3.o bin/test4.o bin/sourcehook.o -lstdc++ -o test.bin
|
|
|
|
bin:
|
|
mkdir bin
|
|
|
|
bin/main.o: main.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/main.o main.cpp
|
|
|
|
bin/test1.o: test1.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/test1.o test1.cpp
|
|
|
|
bin/test2.o: test2.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/test2.o test2.cpp
|
|
|
|
bin/test3.o: test3.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/test3.o test3.cpp
|
|
|
|
bin/test4.o: test4.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/test4.o test4.cpp
|
|
|
|
bin/sourcehook.o: ../sourcehook.cpp ../sourcehook.h
|
|
$(CC) $(CCFLAGS) -o bin/sourcehook.o ../sourcehook.cpp
|
|
|
|
../sourcehook.h: ../generate/sourcehook.hxx
|
|
(cd ../generate; ./generate 16)
|