gopher/makefile.mk
Kelvin Sherlock 02f6a42c62 dmake file
2012-04-05 18:55:57 -04:00

19 lines
339 B
Makefile

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