Make Jim Tabor visible.
[reactos.git] / rosapps / notevil / makefile
index 04bfcd0..b304864 100644 (file)
@@ -1,55 +1,29 @@
-# $Id: makefile,v 1.4 2001/07/28 08:02:05 ea Exp $
 #
-# ReactOS makefile for notevil
-# Compiler: egcs 1.1.2
+#  ReactOS notevil
+#
+#  Makefile
 #
-TARGET=notevil
-
-all: $(TARGET).exe
-
-OBJECTS = $(TARGET).o $(TARGET).coff
-
-CLEAN_FILES = *.o $(TARGET).exe $(TARGET).sym $(TARGET).coff
-
-clean: $(CLEAN_FILES:%=%_clean)
-
-$(CLEAN_FILES:%=%_clean): %_clean:
-       - $(RM) $*
 
-.phony: clean $(CLEAN_FILES:%=%_clean)
+PATH_TO_TOP = ../../reactos
 
-$(TARGET).exe: $(OBJECTS)
-       $(CC) $(OBJECTS) \
-               -o $(TARGET).exe \
-               -lkernel32 \
-               -luser32 \
-               -lmsvcrt
-       $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
+TARGET_TYPE = program
 
-$(TARGET).coff: $(TARGET).rc
-       $(RC) $(RFLAGS) $(TARGET).rc $(TARGET).coff
+TARGET_APPTYPE = console
 
-$(TARGET).o: $(TARGET).c resource.h
+TARGET_NAME = notevil
 
-floppy: $(TARGET:%=$(FLOPPY_DIR)/apps/%)
+#TARGET_CFLAGS = -DUNICODE -D_UNICODE
 
-$(TARGET:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
-ifeq ($(DOSCLI),yes)
-       $(CP) $* $(FLOPPY_DIR)\apps\$*
-else
-       $(CP) $* $(FLOPPY_DIR)/apps/$*
-endif
+TARGET_SDKLIBS = \
+       kernel32.a \
+       user32.a
 
+TARGET_OBJECTS = $(TARGET_NAME).o
 
-dist: $(TARGET:%=../$(DIST_DIR)/apps/%)
+include $(PATH_TO_TOP)/rules.mak
 
-$(TARGET:%=../$(DIST_DIR)/apps/%): ../$(DIST_DIR)/apps/%: %
-ifeq ($(DOSCLI),yes)
-       $(CP) $* ..\$(DIST_DIR)\apps\$*
-else
-       $(CP) $* ../$(DIST_DIR)/apps/$*
-endif
+include $(TOOLS_PATH)/helper.mk
 
-include ../rules.mak
+$(TARGET_NAME).o: resource.h
 
 # EOF