dmake file

This commit is contained in:
Kelvin Sherlock 2012-04-05 18:55:57 -04:00
parent c87992c78a
commit 02f6a42c62
1 changed files with 18 additions and 0 deletions

18
makefile.mk Normal file
View File

@ -0,0 +1,18 @@
CFLAGS += $(DEFINES) -v -w
OBJS = gopher.o url.o connection.o
gopher: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
gopher.o: gopher.c url.h connection.h
url.o: url.c url.h
connection.o: connection.c connection.h
data.o: data.c data.h
dictionary.o: dictionary.c dictionary.h
clean:
$(RM) *.o *.root
clobber: clean
$(RM) gopher