comparison Makefile.gen @ 83:9baefdd4179c

Use win32/ subdirectory for object files also.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Apr 2009 22:03:14 +0300
parents 3ab7751fdad1
children bb309cd2fea4
comparison
equal deleted inserted replaced
82:8df3f73c5f16 83:9baefdd4179c
12 # 12 #
13 # Target rules 13 # Target rules
14 # 14 #
15 all: $(TARGETS) 15 all: $(TARGETS)
16 16
17 %.o: %.c %.h 17 $(OBJPATH)%.o: %.c %.h
18 $(COMP) -c -o $@ $< 18 $(COMP) -c -o $@ $<
19 19
20 $(NNCHAT_BIN): nnchat.c libnnchat.o th_util.o th_string.o th_args.o 20 $(NNCHAT_BIN): nnchat.c $(OBJPATH)libnnchat.o $(OBJPATH)th_util.o $(OBJPATH)th_string.o $(OBJPATH)th_args.o
21 $(COMP) -o $@ $+ $(LDFLAGS) 21 $(COMP) -o $@ $+ $(LDFLAGS)
22 22
23 # 23 #
24 # Special targets 24 # Special targets
25 # 25 #