Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6d0789
commit b2cb790
Showing
6 changed files
with
1,009 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.exe | ||
*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
USE_DEBUG = NO | ||
|
||
ifeq ($(USE_DEBUG),YES) | ||
CFLAGS=-Wall -O -g | ||
else | ||
CFLAGS=-Wall -O3 -s | ||
endif | ||
|
||
all: beer_cals.exe dms2dd.exe mortgage.exe prime32.exe printf2.exe ulocate.exe serial_enum.exe | ||
|
||
clean: | ||
rm -f *.exe | ||
|
||
beer_cals.exe: beer_cals.cpp | ||
g++ $(CFLAGS) -Weffc++ $< -o $@ | ||
|
||
dms2dd.exe: dms2dd.cpp | ||
g++ $(CFLAGS) -Weffc++ $< -o $@ | ||
|
||
mortgage.exe: mortgage.cpp | ||
g++ $(CFLAGS) -Weffc++ $< -o $@ | ||
|
||
prime32.exe: prime32.cpp | ||
g++ $(CFLAGS) -Weffc++ $< -o $@ | ||
|
||
printf2.exe: printf2.c | ||
gcc $(CFLAGS) -DTEST_PRINTF $< -o $@ | ||
|
||
ulocate.exe: ulocate.cpp | ||
g++ $(CFLAGS) -Weffc++ $< -o $@ | ||
|
||
serial_enum.exe: serial_enum.cpp | ||
g++ $(CFLAGS) -DUNICODE -D_UNICODE $< -o $@ -lsetupapi | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.