Skip to content

Commit

Permalink
Merge pull request #16 from lemenkov/destdir_flexibility
Browse files Browse the repository at this point in the history
Allow overriding some more Makefile variables
  • Loading branch information
mcayland committed Apr 24, 2024
2 parents b6e3b72 + 93927cd commit 7cddcb0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions detok/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

PROGRAM = detok

DESTDIR = /usr/local
DESTDIR ?= /usr/local
CC ?= gcc
STRIP = strip
STRIP ?= strip
INCLUDES = -I../shared

# Normal Flags:
CFLAGS = -O2 -Wall #-Wextra
CFLAGS ?= -O2 -Wall #-Wextra
LDFLAGS =

# Coverage:
Expand Down
6 changes: 3 additions & 3 deletions romheaders/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

PROGRAM = romheaders

DESTDIR = /usr/local
DESTDIR ?= /usr/local
CC ?= gcc
STRIP = strip
CFLAGS = -O2 -Wall -Wextra
STRIP ?= strip
CFLAGS ?= -O2 -Wall -Wextra
INCLUDES = -I../shared

SOURCES = romheaders.c ../shared/classcodes.c
Expand Down
6 changes: 3 additions & 3 deletions toke/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

PROGRAM = toke

DESTDIR = /usr/local
DESTDIR ?= /usr/local
CC ?= gcc
STRIP = strip
STRIP ?= strip
INCLUDES = -I../shared

# Normal flags
CFLAGS = -O2 -Wall #-Wextra
CFLAGS ?= -O2 -Wall #-Wextra
LDFLAGS =

# Coverage:
Expand Down

0 comments on commit 7cddcb0

Please sign in to comment.