exposurses

Check-in [095cfb3932]
Login

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: 095cfb3932fc394d23a07132d50c8fd3216c5120206651f77cbdddccc6edf195
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: trunk, temp2
2013-09-11
21:46
For ref: Try separate win and menu functions check-in: 878d5d8315 user: base@atomicules.co.uk tags: trunk, temp
21:44
Add debug options to Makefile check-in: 095cfb3932 user: base@atomicules.co.uk tags: trunk, temp2
21:41
For ref: Wrap menu and window creation in function check-in: 284f5d1a81 user: base@atomicules.co.uk tags: trunk, temp2
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

all: options exposurses

options:
	@echo build options:
	@echo "CC       = ${CC}"

.c.o:
	@echo CC $<
	@${CC} -c $<

exposurses: ${OBJ}
	@echo CC -o $@
	@${CC} -o $@ ${OBJ} ${LDFLAGS}

clean:
	@echo cleaning
	@rm -f exposurses ${OBJ}







|
|
|

|
|
|




7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

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
8
9
10
11
12
13
14
15
# Customize below to fit your system

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

# includes and libs
#INCS = -I. -I/usr/include
LIBS=-lmenu -lcurses -lm

# flags
LDFLAGS = -s ${LIBS}

# compiler and linker
CC = cc







<


<
<
<


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