2002-07-02 16:57:56 +00:00
|
|
|
#
|
|
|
|
# ReactOS regedt32
|
|
|
|
#
|
|
|
|
# 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 = regedt32
|
|
|
|
|
|
|
|
BASE_CFLAGS = -DGCC -D_WIN32_IE=0x0400
|
|
|
|
|
|
|
|
RCFLAGS = -DGCC -D_WIN32_IE=0x0400
|
|
|
|
|
|
|
|
|
2002-07-10 18:39:21 +00:00
|
|
|
OBJS = framewnd.o \
|
2002-07-20 16:29:26 +00:00
|
|
|
childwnd.o \
|
|
|
|
listview.o \
|
|
|
|
treeview.o \
|
|
|
|
settings.o \
|
|
|
|
main.o
|
2002-07-02 16:57:56 +00:00
|
|
|
|
2002-07-20 16:29:26 +00:00
|
|
|
LIBS = -lgdi32 -luser32 -lkernel32 -ladvapi32 -lcomctl32 -lcomdlg32
|
2002-07-02 16:57:56 +00:00
|
|
|
|
|
|
|
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-20 16:29:26 +00:00
|
|
|
main.h: resource.h
|
2002-07-02 16:57:56 +00:00
|
|
|
|
2002-07-20 16:29:26 +00:00
|
|
|
main.o: main.c main.h framewnd.h
|
2002-07-02 16:57:56 +00:00
|
|
|
|
2002-07-20 16:29:26 +00:00
|
|
|
framewnd.o: framewnd.c framewnd.h listview.h treeview.h main.h
|
|
|
|
|
|
|
|
childwnd.o: childwnd.c childwnd.h main.h
|
|
|
|
|
|
|
|
listview.o: listview.c listview.h main.h
|
|
|
|
|
|
|
|
treeview.o: treeview.c treeview.h main.h
|
|
|
|
|
|
|
|
settings.o: settings.c settings.h main.h
|
2002-07-02 16:57:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- $(RM) $(OBJS)
|
|
|
|
- $(RM) $(TARGET).exe
|
|
|
|
- $(RM) $(TARGET).sym
|
|
|
|
- $(RM) $(TARGET).coff
|
|
|
|
|
2002-07-09 21:47:54 +00:00
|
|
|
include $(PATH_TO_TOP)/rules.mak
|