File: Makefile

package info (click to toggle)
dvorak7min 1.6.1+repack-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 252 kB
  • sloc: ansic: 2,250; makefile: 105
file content (39 lines) | stat: -rw-r--r-- 861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
INSTALL = /usr/local/games/bin

# Uncomment these lines if you want to change the defaults to something else

#PRETTINESS = -DNOT_SO_PRETTY
#NASTINESS = -DNASTY_AS_USUAL
#BEEPS = -DBEEPS_ARENT_IRRITATING
#FLASHES = -DFLASHES_ARENT_IRRITATING
#PROF = -g0 -O2
COLORS = -DNO_COLORS_PLEASE

# Max length of imported texts.  Set it to 0 or comment it if you don't want
# a limit
LIMIT_LENGTH = -DLIMIT_LENGTH=1024

### That's all ###

CC      = gcc
CFLAGS  += -Wall \
	$(PRETTINESS) $(NASTINESS) $(BEEPS) $(FLASHES) $(COLORS) \
	$(LIMIT_LENGTH) $(PROF)
LDFLAGS += $(PROF)
LIBS    = -lncurses

OBJECTS = dvorak7min.o lessons.o
HEADERS = lessons.h
TARGET  = dvorak7min
		
dvorak7min: $(OBJECTS)
	$(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)

all: dvorak7min

clean:
		rm -f $(OBJECTS) $(TARGET)
install:
		install -d $(INSTALL)
		install -s dvorak7min $(INSTALL)