2000-03-05 19:58:08 +00:00
|
|
|
#
|
|
|
|
# ReactOS makefile for D-Flat/32
|
|
|
|
#
|
|
|
|
|
|
|
|
TARGET=edit.exe
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
OBJECTS = applicat.o barchart.o box.o button.o calendar.o checkbox.o clipbord.o \
|
|
|
|
combobox.o config.o console.o decomp.o dfalloc.o dialbox.o dialogs.o \
|
|
|
|
direct.o edit.o editbox.o fileopen.o helpbox.o htree.o keys.o \
|
|
|
|
listbox.o lists.o log.o menu.o menubar.o menus.o message.o msgbox.o \
|
|
|
|
normal.o pictbox.o popdown.o radio.o rect.o search.o slidebox.o spinbutt.o \
|
2000-03-08 22:38:01 +00:00
|
|
|
statbar.o sysmenu.o text.o textbox.o video.o watch.o window.o \
|
|
|
|
edit.coff
|
2000-03-05 19:58:08 +00:00
|
|
|
|
|
|
|
CLEAN_FILES = *.o *.exe *.sym *.coff
|
|
|
|
|
|
|
|
|
|
|
|
edit.exe: $(OBJECTS)
|
|
|
|
$(CC) $(OBJECTS) -lkernel32 -lcrtdll -luser32 -o edit.exe
|
|
|
|
$(NM) --numeric-sort edit.exe > edit.sym
|
|
|
|
|
|
|
|
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
|
|
- $(RM) $*
|
|
|
|
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
|
|
|
|
|
|
floppy: $(TARGET:%=$(FLOPPY_DIR)/apps/%)
|
|
|
|
|
|
|
|
$(TARGET:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
|
|
|
else
|
|
|
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
dist: $(TARGET:%=../$(DIST_DIR)/apps/%)
|
|
|
|
|
|
|
|
$(TARGET:%=../$(DIST_DIR)/apps/%): ../$(DIST_DIR)/apps/%: %
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
$(CP) $* ..\$(DIST_DIR)\apps\$*
|
|
|
|
else
|
|
|
|
$(CP) $* ../$(DIST_DIR)/apps\$*
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2000-03-08 01:49:37 +00:00
|
|
|
#WITH_DEBUGGING=yes
|
2000-03-05 19:58:08 +00:00
|
|
|
|
|
|
|
include ../rules.mak
|
|
|
|
|
|
|
|
# EOF
|