#
-# ReactOS hcalc.
+# ReactOS hcalc
#
# Makefile
#
-# Copyright 1998 DJ Delorie <dj@delorie.com>
-# Distributed under the terms of the GNU GPL
-# http://www.delorie.com/store/hcalc/
-#
-# Copyright (C) 2002 The ReactOS Project
-
-PATH_TO_TOP = ..
-
-TARGET = hcalc
-
-BASE_CFLAGS = # -DGCC -D_WIN32_IE=0x0400
-
-RCFLAGS = # -DGCC -D_WIN32_IE=0x0400
-
-
-OBJS = hcalc.o \
- input.o
-
-LIBS = -lgdi32 -luser32 -lkernel32
-
-all: $(TARGET).exe
-$(TARGET).res: $(TARGET).rc
+PATH_TO_TOP = ../../reactos
-$(TARGET).exe: $(OBJS) $(TARGET).coff
- $(CC) -Wl,--subsystem,windows -o $(TARGET).exe $(OBJS) $(TARGET).coff $(LIBS)
- $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
+TARGET_TYPE = program
+TARGET_APPTYPE = windows
-# main.h: resource.h
+TARGET_NAME = hcalc
-# about.o: about.c about.h main.h
+WINE_MODE = yes
-# main.o: main.c main.h framewnd.h
+WINE_RC = $(TARGET_NAME)
-# framewnd.o: framewnd.c framewnd.h listview.h treeview.h main.h
+WINE_INCLUDE = ./
-# listview.o: listview.c listview.h main.h
+TARGET_SDKLIBS = \
+ kernel32.a \
+ user32.a \
+ gdi32.a
-# treeview.o: treeview.c treeview.h main.h
-
-# debug.o: debug.c debug.h main.h
+TARGET_OBJECTS = \
+ hcalc.o \
+ input.o
+include $(PATH_TO_TOP)/rules.mak
-clean:
- - $(RM) $(OBJS)
- - $(RM) $(TARGET).exe
- - $(RM) $(TARGET).sym
- - $(RM) $(TARGET).coff
+include $(TOOLS_PATH)/helper.mk
-include $(PATH_TO_TOP)/rules.mak
+# EOF