diff options
author | LAN-TW <lantw44@gmail.com> | 2013-10-13 11:38:49 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-10-13 11:38:49 +0800 |
commit | 432fae3ac4d8643d00ef53936b10b4e411ffb418 (patch) | |
tree | fe779ab60705e748938e921a8ca441365e7c76cc | |
parent | 96f5002d13aa53e25a55a837a6d2d7f536f44a68 (diff) | |
download | sp2013-432fae3ac4d8643d00ef53936b10b4e411ffb418.tar.gz sp2013-432fae3ac4d8643d00ef53936b10b4e411ffb418.tar.zst sp2013-432fae3ac4d8643d00ef53936b10b4e411ffb418.zip |
HW1: 將一部分不可攜的編譯器選項從 SP_CFLAGS 移至 CFLAGS
-rw-r--r-- | hw1/Makefile.simple | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw1/Makefile.simple b/hw1/Makefile.simple index be1c4c4..b8792d2 100644 --- a/hw1/Makefile.simple +++ b/hw1/Makefile.simple @@ -3,11 +3,11 @@ CC= c99 RM= rm -f # Internal flags -SP_CFLAGS= -Wall -pipe -O2 -D_POSIX_C_SOURCE=200809L $(CFLAGS) +SP_CFLAGS= -D_POSIX_C_SOURCE=200809L $(CFLAGS) SP_LIBS= $(LDFLAGS) # Let user to override these variables -CFLAGS= +CFLAGS= -Wall -pipe -O2 LDFLAGS= # Build dependencies |