Commit adffd19e authored by Peter Pentchev's avatar Peter Pentchev

Add a .c -> .o rule that honors CPPFLAGS.

parent b39bc018
......@@ -5,6 +5,8 @@ Change log for hexer, the multi-view binary editor
the "const" keyword or do not provide the alloca() function
- fix the build on systems that do not need or have alloca.h
- fix an overzealous double const
- add a Makefile rule for the compilation of C files for
make(1) implementations that do not pass CPPFLAGS.
0.2.3 2015/12/10
- build with large file support on Linux
......
......@@ -91,6 +91,9 @@ bin2c: bin2c.c
helptext.c: help.txt bin2c
./bin2c -n helptext -o $@ help.txt
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
tags: *.c *.h
-@{ \
echo Creating tags...; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment