Browse Source

Merge pull request #119 from reinerh/cppflags

Honour CPPFLAGS
master
Arun Prakash Jana GitHub 6 years ago
parent
commit
a37c7ee13c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -26,10 +26,10 @@ all: $(BIN) $(PLAYER)
$(SRC): nnn.h

$(BIN): $(SRC)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)

debug: $(SRC)
$(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
$(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)

install: all
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin


Loading…
Cancel
Save