- AS = yasm
- CC = gcc
- CFLAGS = -m64 -O0 -W -Wall -g -fPIC
- CFILES = main.c nes_apu.c nsf.c
- ASMFILES = bender.asm
- OBJECTS = $(patsubst %.asm, %.o, $(ASMFILES)) $(patsubst %.c, %.o, $(CFILES))
- ASFLAGS = -g dwarf2 -f elf64 -DPIC
- all: nosefart
- nosefart: $(OBJECTS) Makefile
- $(CC) $(CFLAGS) -I. -o $@ $(OBJECTS)
- %.o: %.c
- $(CC) $(CFLAGS) -I. -DNSF_PLAYER -c $< -o $@
- %.o: %.asm
- $(AS) $(ASFLAGS) -o $@ $<
- clean:
- rm -f nosefart *.o
SHARE
TWEET
makefile
a guest
Mar 23rd, 2014
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

