https://github.com/virtualagc/virtualagc
Revision 078c79d8734a9ed2860303a7c1662004284fe853 authored by Ron Burkey on 07 August 2022, 15:04:04 UTC, committed by Ron Burkey on 07 August 2022, 15:04:04 UTC
assembly listings from yaASM and yaLEMAP. Added some debugging messages
to 'make install'.  Tweaked debugging messages that VirtualAGC embeds in
'simulate'.  Verified buildability in Mint 21, 20, 19, 17, and verified
buildability using clang in Mint 17.
1 parent 6bb1acc
Raw File
Tip revision: 078c79d8734a9ed2860303a7c1662004284fe853 authored by Ron Burkey on 07 August 2022, 15:04:04 UTC
Fixed a potential string-overflow bug in yaASM. Removed timestamps from
Tip revision: 078c79d
Makefile
# Filename:	Makefile
# Purpose:	Builds the ControlPulseSim program.
# Mod history:	2009-03-06 RSB	Wrote
#		2009-03-12 RSB	Added the 'clean' target.

.PHONY: default
default: ControlPulseSim

.PHONY: all-archs
all-archs: ControlPulseSim ControlPulseSim.exe ControlPulseSim-macosx

ControlPulseSim: ControlPulseSim.c
	${cc} -o $@ $^

ControlPulseSim.exe: ControlPulseSim.c
	i386-mingw32-${cc} -o $@ $^

ControlPulseSim-macosx: ControlPulseSim.c
	powerpc-apple-darwin9-${cc} -arch ppc -arch i386 -o $@ $^

.PHONY: clean
clean:
	-rm -f ControlPulseSim *.exe *-macosx *.o *~ *.bak

back to top