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 e175a7db5c Fixes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4051
2005-05-01 18:04:18 +00:00

24 lines
635 B
Makefile

CC=gcc
CCFLAGS=-c -g -I.. -DSH_DEBUG
test.bin: bin bin/main.o bin/test1.o bin/test2.o bin/sourcehook.o
$(CC) bin/main.o bin/test1.o bin/test2.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/sourcehook.o: ../sourcehook.cpp ../sourcehook.h
$(CC) $(CCFLAGS) -o bin/sourcehook.o ../sourcehook.cpp
../sourcehook.h: ../generate/sourcehook.hxx
(cd ../generate; ./generate 16)