https://github.com/virtualagc/virtualagc
Revision 66d8e606a8d996ded60bc81d5edf319142a5fad9 authored by Ron Burkey on 04 October 2021, 11:49:55 UTC, committed by Ron Burkey on 04 October 2021, 11:49:55 UTC
2 parent s dfc2190 + 42c2282
Raw File
Tip revision: 66d8e606a8d996ded60bc81d5edf319142a5fad9 authored by Ron Burkey on 04 October 2021, 11:49:55 UTC
Merge branch 'master' of https://github.com/virtualagc/virtualagc
Tip revision: 66d8e60
Makefile
# Copyright:	Public Domain
# Filename:	Makefile
# Purpose:	Build my (Ron Burkey) DSKY sim for Block 1 AGC simulator.
# Reference:	http://www.ibiblio.org/apollo/Pultorak.html
# Mod history:	2016-09-04 RSB	Began
#		2017-08-24 RSB	Added wxFLAGS.

EXTRASOURCE=yaDSKYb1.cpp SocketAPI.cpp agc_utilities.cpp
EXTRAHEADERS=yaDSKYb1.h

ifdef SOLARIS
NLIBS = -lxnet
endif # SOLARIS
ifdef WIN32
NLIBS = -lwsock32
endif

.PHONY: all 
.PHONY: default
all default:	yaDSKYb1

yaDSKYb1: yaDSKYb1-widgetized.cpp yaDSKYb1-widgetized.h ${EXTRASOURCE} ${EXTRAHEADERS} Makefile
	${CC} -g -O0 -DMAIN_DSKY_WIDGETIZED `wx-config --cxxflags` ${wxFLAGS} \
		$< ${EXTRASOURCE} `wx-config --libs` -o $@ $(NLIBS)

.PHONY: clean
clean:
	-rm yaDSKYb1

back to top