Patch by Jonathon Wilson:
[reactos.git] / reactos / apps / tests / tests / hello / Makefile
1 #
2 #
3 #
4 PATH_TO_TOP = ../../../..
5
6 PROGS = hello
7
8 OBJECTS = hello.o
9
10 LIBS = $(PATH_TO_TOP)/dk/w32/lib/gdi32.a
11 CFLAGS = -Wall -Werror
12
13 all: $(PROGS:%=%.exe)
14
15 .phony: all
16
17 clean:
18 - $(RM) *.o *.coff *.exe *.sym
19
20 .phony: clean
21
22 hello.exe: $(OBJECTS)
23 $(CC) $(CFLAGS) -Wl,--subsystem,windows $(OBJECTS) $(LIBS) -o hello.exe
24 $(NM) --numeric-sort hello.exe > hello.sym
25
26 include $(PATH_TO_TOP)/rules.mak