TARGET = winfile
-BASE_CFLAGS = -DGCC -D_WIN32_IE=0x0400
-
-RCFLAGS = -DGCC -D_WIN32_IE=0x0400
+BASE_CFLAGS = -D_WIN32_IE=0x0400
+RCFLAGS = -D_WIN32_IE=0x0400
OBJS = about.o \
- debug.o \
+ childwnd.o \
+ debug.o \
+ dialogs.o \
+ drivebar.o \
draw.o \
entries.o \
+ framewnd.o \
+ listview.o \
main.o \
- mdiclient.o \
- run.o \
+ network.o \
settings.o \
- splitpath.o \
+ shell.o \
sort.o \
+ splitpath.o \
+ run.o \
+ trace.o \
+ treeview.o \
utils.o \
- treeview.o \
- listview.o \
- $(TARGET).o
+ worker.o
-LIBS = -lgdi32 -luser32 -lkernel32 -lcomctl32
+LIBS = -lgdi32 -luser32 -lkernel32 -ladvapi32 -lcomctl32 -lcomdlg32 -lversion
all: $(TARGET).exe
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
-about.o: about.c about.h resource.h
+main.h: resource.h Makefile
+
+about.o: about.c about.h main.h
+
+main.o: main.c main.h childwnd.h framewnd.h main.h
+
+childwnd.o: childwnd.c childwnd.h main.h
-debug.o: debug.c debug.h
+framewnd.o: framewnd.c framewnd.h main.h
-font.o: font.c font.h
+debug.o: debug.c debug.h main.h
-setttings.o: setttings.c setttings.h resource.h
+font.o: font.c font.h main.h
-run.o: run.c run.h
+run.o: run.c run.h main.h
-mdiclient.o: mdiclient.c mdiclient.h resource.h
+setttings.o: setttings.c setttings.h main.h
-$(TARGET).o: $(TARGET).c $(TARGET).h resource.h
+$(TARGET).o: $(TARGET).c $(TARGET).h main.h Makefile
clean:
- $(RM) $(TARGET).sym
- $(RM) $(TARGET).coff
-include ../rules.mak
+include $(PATH_TO_TOP)/rules.mak