1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-10 22:24:12 +01:00
HLMetaModOfficial/sourcehook/test/Makefile
Pavol Marko 3c82560621 Added test4.cpp for plugin managment system testing, added -v parameter for verbose output on test fail
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4061
2005-05-05 14:00:08 +00:00

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)