Doyousketch2

New Makefile for SIDdump

Feb 12th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.18 KB | None | 0 0
  1. CC=gcc
  2. CXX=g++
  3. CFLAGS+=-O3 -Wall
  4. CXXFLAGS=$(CFLAGS)
  5.  
  6. ifdef SYSTEMROOT
  7. siddump.exe: siddump.o cpu.o
  8.     gcc -o $@ $^
  9. else
  10. siddump: siddump.o cpu.o
  11.     gcc -lm -o $@ $^
  12. endif
  13.     strip $@
Add Comment
Please, Sign In to add comment