2002-07-03 19:32:52 +00:00
|
|
|
#
|
|
|
|
# ReactOS winfile
|
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
#
|
|
|
|
|
|
|
|
PATH_TO_TOP = ..
|
|
|
|
|
|
|
|
TARGET = winfile
|
|
|
|
|
|
|
|
BASE_CFLAGS = -DGCC -D_WIN32_IE=0x0400
|
|
|
|
|
|
|
|
RCFLAGS = -DGCC -D_WIN32_IE=0x0400
|
|
|
|
|
|
|
|
|
|
|
|
OBJS = about.o \
|
2002-07-09 19:46:14 +00:00
|
|
|
framewnd.o \
|
|
|
|
childwnd.o \
|
|
|
|
debug.o \
|
2002-07-09 21:46:46 +00:00
|
|
|
dialogs.o \
|
2002-07-06 02:44:16 +00:00
|
|
|
draw.o \
|
|
|
|
entries.o \
|
|
|
|
run.o \
|
2002-07-14 17:59:36 +00:00
|
|
|
shell.o \
|
|
|
|
network.o \
|
2002-07-06 02:44:16 +00:00
|
|
|
settings.o \
|
|
|
|
splitpath.o \
|
|
|
|
sort.o \
|
|
|
|
utils.o \
|
2002-07-09 19:46:14 +00:00
|
|
|
treeview.o \
|
|
|
|
listview.o \
|
|
|
|
trace.o \
|
|
|
|
main.o
|
2002-07-03 19:32:52 +00:00
|
|
|
|
|
|
|
LIBS = -lgdi32 -luser32 -lkernel32 -lcomctl32
|
|
|
|
|
|
|
|
all: $(TARGET).exe
|
|
|
|
|
|
|
|
$(TARGET).res: $(TARGET).rc
|
|
|
|
|
|
|
|
$(TARGET).exe: $(OBJS) $(TARGET).coff
|
|
|
|
$(CC) -Wl,--subsystem,windows -o $(TARGET).exe $(OBJS) $(TARGET).coff $(LIBS)
|
|
|
|
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
|
|
|
|
|
|
|
|
|
2002-07-06 02:44:16 +00:00
|
|
|
about.o: about.c about.h resource.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
2002-07-09 19:46:14 +00:00
|
|
|
main.o: main.c main.h childwnd.h framewnd.h resource.h
|
|
|
|
|
|
|
|
childwnd.o: childwnd.c childwnd.h resource.h
|
|
|
|
|
|
|
|
framewnd.o: framewnd.c framewnd.h resource.h
|
|
|
|
|
2002-07-06 02:44:16 +00:00
|
|
|
debug.o: debug.c debug.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
2002-07-06 02:44:16 +00:00
|
|
|
font.o: font.c font.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
2002-07-06 02:44:16 +00:00
|
|
|
run.o: run.c run.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
2002-07-09 19:46:14 +00:00
|
|
|
setttings.o: setttings.c setttings.h resource.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
2002-07-06 02:44:16 +00:00
|
|
|
$(TARGET).o: $(TARGET).c $(TARGET).h resource.h
|
2002-07-03 19:32:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- $(RM) $(OBJS)
|
|
|
|
- $(RM) $(TARGET).exe
|
|
|
|
- $(RM) $(TARGET).sym
|
|
|
|
- $(RM) $(TARGET).coff
|
|
|
|
|
2002-07-09 19:46:14 +00:00
|
|
|
include $(PATH_TO_TOP)/rules.mak
|