include $(WXDIR)\src\makesc.env
-$(TARGET).exe: $(TARGET).obj $(TARGET).res
- link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBS)
+$(TARGET).exe: $(OBJECTS) $(TARGET).res
+ link $(LDFLAGS) /DELEXECUTABLE /RC -L/exet:nt/su:windows $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS)
-sc32.def:
- echo EXETYPE NT > sc32.def
- echo SUBSYSTEM WINDOWS >> sc32.def
-
clean:
-del *.obj
-del *.exe
-del *.res
-del *.map
-del *.rws
- -del sc16.def
+ -del *.sym
+
+
+cleanexe:
+ -del *.exe
+
+relink: cleanexe $(TARGET).exe
+
+
+