mirror of
https://github.com/ksherlock/gopher.git
synced 2025-03-10 15:30:44 +00:00
dmake file
This commit is contained in:
parent
c87992c78a
commit
02f6a42c62
18
makefile.mk
Normal file
18
makefile.mk
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user