Corrected makefiles for all tests and added new application GetSysMetrics.
[reactos.git] / reactos / apps / tests / tests / volinfo / Makefile
1 #
2 #
3 #
4 PATH_TO_TOP = ../../../..
5
6 PROGS = volinfo
7
8 OBJECTS = volinfo.o
9
10 LIBS =
11 CFLAGS =
12
13 all: $(PROGS:%=%.exe)
14
15 .phony: all
16
17 clean:
18 - $(RM) *.o *.exe *.sym
19
20 .phony: clean
21
22 install: $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
23
24 $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
25 $(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
26
27 dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
28
29 $(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
30 $(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
31
32 volinfo.exe: $(OBJECTS)
33 $(CC) $(CFLAGS) -Wl,--subsystem,windows $(OBJECTS) $(LIBS) -o volinfo.exe
34 $(NM) --numeric-sort volinfo.exe > volinfo.sym
35
36 include $(PATH_TO_TOP)/rules.mak