Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add debug options to Makefile |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | temp2 |
| Files: | files | file ages | folders |
| SHA3-256: |
095cfb3932fc394d23a07132d50c8fd3 |
| User & Date: | base@atomicules.co.uk 2013-09-11 21:44:20 |
Context
|
2013-09-12
| ||
| 12:02 |
For ref: That should have always been a pointer
Although this version still no worky Leaf check-in: b786f69eac user: base@atomicules.co.uk tags: temp2, trunk | |
|
2013-09-11
| ||
| 21:46 | For ref: Try separate win and menu functions check-in: 878d5d8315 user: base@atomicules.co.uk tags: temp, trunk | |
| 21:44 | Add debug options to Makefile check-in: 095cfb3932 user: base@atomicules.co.uk tags: temp2, trunk | |
| 21:41 | For ref: Wrap menu and window creation in function check-in: 284f5d1a81 user: base@atomicules.co.uk tags: temp2, trunk | |
Changes
Changes to Makefile.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# exposurses
include config.mk
SRC = exposurses.c
OBJ = ${SRC:.c=.o}
all: options exposurses
options:
@echo build options:
@echo "CC = ${CC}"
| | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# exposurses
include config.mk
SRC = exposurses.c
OBJ = ${SRC:.c=.o}
all: options exposurses
options:
@echo build options:
@echo "CC = ${CC}"
exposurses: ${OBJ}
@echo CC -o $@
@${CC} -s ${LIBS} ${SRC} -o $@
debug:
@echo "Building with debug symbols"
@${CC} -g ${LIBS} ${SRC} -o exposurses
clean:
@echo cleaning
@rm -f exposurses ${OBJ}
|
Changes to config.mk.
1 2 3 4 5 6 7 |
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
# includes and libs
| < < < < | 1 2 3 4 5 6 7 8 9 10 11 |
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
# includes and libs
LIBS=-lmenu -lcurses -lm
# compiler and linker
CC = cc
|