-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (19 loc) · 753 Bytes
/
Makefile
File metadata and controls
22 lines (19 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
APP=Install_airyxOS
SRCS=Source/main.m Source/AppDelegate.m Source/GSGeomDisk.m
MK_DEBUG_FILES=no
RESOURCES=TanukiLogo.tiff header.rtf terms.rtf English.lproj Icon.png
SLF=/System/Library/Frameworks
FRAMEWORKS=${SLF}/AppKit ${SLF}/CoreGraphics ${SLF}/Onyx2D ${SLF}/OpenGL \
${SLF}/Foundation ${SLF}/CoreFoundation ${SLF}/DBusKit
LDFLAGS+=-lGL
AIRYX_VERSION!= head -1 ../../version.txt
CFLAGS+=-g -DAIRYX_VERSION=\"${AIRYX_VERSION}\"
clean:
rm -rf ${APP_DIR} "${APP_DIR:S/_/ /}"
rm -f Source/*.o
build: clean all
rm -f ${APP_DIR}/${APP}
ln -sf "Contents/Airyx/${APP:S/_/ /}" "${APP_DIR}/${APP:S/_/ /}"
mv -f ${APP_DIR}/Contents/Airyx/${APP} "${APP_DIR}/Contents/Airyx/${APP:S/_/ /}"
mv -f ${APP_DIR} "${APP_DIR:S/_/ /}"
.include <airyx.app.mk>