Skip to content

Commit

Permalink
Remove flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkim committed Apr 21, 2017
1 parent 8708510 commit c8205a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions 예제/BBB LED 점멸/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ bbb_led: bbb_led.o
$(LD) -o $@ $^ $(LDFLAGS)

gpio_led.o: gpio_led.cpp
$(CC) -MMD -c -o $@ $< $(CCFLAGS)
$(CC) -c -o $@ $< $(CCFLAGS)

bbb_led.o: bbb_led.cpp
$(CC) -MMD -c -o $@ $< $(CCFLAGS)
$(CC) -c -o $@ $< $(CCFLAGS)

clean:
rm -f *.o *.d gpio_led bbb_led
rm -f *.o gpio_led bbb_led
8 changes: 4 additions & 4 deletions 예제/Makefile 작성/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ demo: main.o f1.o f2.o
$(LD) -o $@ $^ $(LDFLAGS)

main.o: main.c f1.h
$(CC) -MMD -c -o $@ $< $(CCFLAGS)
$(CC) -c -o $@ $< $(CCFLAGS)

f1.o: f1.c f1.h f2.h
$(CC) -MMD -c -o $@ $< $(CCFLAGS)
$(CC) -c -o $@ $< $(CCFLAGS)

f2.o: f2.c f1.h f2.h
$(CC) -MMD -c -o $@ $< $(CCFLAGS)
$(CC) -c -o $@ $< $(CCFLAGS)

clean:
rm -f *.o *.d demo
rm -f *.o demo

0 comments on commit c8205a1

Please sign in to comment.