PROJ = bootsel
WEBDIR = public_html
WEBFILE= urom.c
NUTOS = D:/heha/Projekte/BootSelektor/ethernut-4.4.0-win32
top_srcdir=$(NUTOS)/nut
LIBDIR = $(NUTOS)/nutbld/lib
INCFIRST=$(INCPRE)$(NUTOS)/nutbld/include
MCU=atmega128
HWDEF+=-DETHERNUT1 -D__HARVARD_ARCH__
CRUROM=$(NUTOS)/nut/tools/win32/crurom.exe
include $(NUTOS)/nut/app/Makedefs.avr-gcc
include $(NUTOS)/nut/app/Makeburn.avr-dude
SRCS = $(PROJ).c hardware.c $(WEBFILE)
OBJS = $(SRCS:.c=.o)
LIBS = $(LIBDIR)/nutinit.o $(MODS) -lnutpro -lnutos -lnutarch -lnutdev -lnutarch -lnutnet -lnutfs -lnutcrt
TARG = $(PROJ).hex
CPFLAGS += -Wno-format
all: $(OBJS) $(TARG) $(ITARG) $(DTARG)
$(WEBFILE): $(WEBDIR)/enlogo.gif $(WEBDIR)/boot.gif $(WEBDIR)/boot.ico \
$(WEBDIR)/index.html $(WEBDIR)/content.html $(WEBDIR)/screen.css
$(CRUROM) -r -o$(WEBFILE) $(WEBDIR)
include $(NUTOS)/nut/app/Makerules.avr-gcc
clean:
-rm -f $(OBJS)
-rm -f $(TARG) $(ITARG) $(DTARG)
-rm -f $(PROJ).eep
-rm -f $(PROJ).obj
-rm -f $(PROJ).map
-rm -f $(SRCS:.c=.lst)
-rm -f $(SRCS:.c=.bak)
-rm -f $(SRCS:.c=.i)
-rm -f $(WEBFILE)
Vorgefundene Kodierung: ASCII (7 bit) | 2
|