# target exe file EXE = epromemu.exe # source files SRC = epromemu.c RES = # libraries LIB = # build type - DEBUG or RELEASE BUILDTYPE = RELEASE ############################################################################### # object files OBJ = $(SRC:.c=.o) $(RES:.rc=.o) # setup CC=gcc CFLAGS=-Wall -pedantic -std=gnu99 LDFLAGS= RM=rm ifeq ($(BUILDTYPE), DEBUG) CFLAGS += -DDEBUG -g -ggdb else CFLAGS += -O3 LDFLAGS += --strip-all endif .PHONY: all clean %.o: %.c $(CC) $(CFLAGS) -o $@ -c $< %.o: %.rc windres -o $@ -i $< all: $(EXE) $(EXE): $(OBJ) $(CC) $(OBJ) $(LIB) $(LDFLAGS) -o $@ resource.rc: RESOURCE.RC mv RESOURCE.RC resource.rc clean: -$(RM) $(OBJ)
| file: /images/boards/EPROMemuMk2/Driver/Makefile, 0KB, , updated: 2005/8/5 13:57, local time: 2012/2/10 13:11,
38.107.179.230:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/images/boards/EPROMemuMk2/Driver/Makefile"> </A> |
| Did you find what you needed? |
|
PIC Microcontroller Instruction Set Quick Reference and Core Comparison Matrix |
|
.