move work on clean rule
[reactos.git] / reactos / apps / tests / thread / makefile
1 #
2 #
3 #
4 PATH_TO_TOP = ../..
5
6 PROGS = thread
7
8 all: $(PROGS:%=%.exe)
9
10 .phony: all
11
12 clean:
13 - $(RM) *.o *.exe *.sym
14
15 .phony: clean
16
17 install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
18
19 $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
20 $(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
21
22 dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
23
24 $(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
25 $(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
26
27 thread.exe: thread.c
28 $(CC) $(CFLAGS) thread.c -lkernel32 -o thread.exe
29 $(NM) --numeric-sort thread.exe > thread.sym
30
31 include ../../rules.mak