#
# This makefile is created by rsxide
#

.SUFFIXES: .exe .res .a .o .c .cpp .cc .cxx .m .rc .p .f .F .r .y .l .s .S .def .h

all: winedit.exe

CC_TARGET_01=-Zwin32 
CFLAGS_TARGET_01=-O2 -Wall 

winedit.exe: winedit.o winedit.res
	gcc $(CC_TARGET_01) -s  -o winedit.exe winedit.o
	rsrc winedit.res winedit.exe

winedit.o: winedit.c
	gcc -c -o winedit.o winedit.c $(CC_TARGET_01)  $(CFLAGS_TARGET_01)

winedit.res: winedit.rc
	grc -r winedit.rc

