6 # Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #BASE_CFLAGS = -DGCC -D_WIN32_IE=0x0400
29 #RCFLAGS = -DGCC -D_WIN32_IE=0x0400
36 LIBS = -lgdi32 -luser32 -lkernel32 -lcomctl32
37 #LIBS = -lgdi32 -luser32 -lkernel32
41 #$(TARGET).res: $(TARGET).rc
43 $(TARGET).exe: $(OBJS) $(TARGET).coff
44 $(CC) -Wl,--subsystem,windows -o $(TARGET).exe $(OBJS) $(TARGET).coff $(LIBS)
45 $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
50 main.o: main.c main.h settings.h
52 settings.o: settings.c settings.h main.h
54 button.o: button.c button.h main.h
61 - $(RM) $(TARGET).coff
63 include $(PATH_TO_TOP)/rules.mak