Skip to content

Commit

Permalink
Merge pull request #3 from biwiki/target_name_linux
Browse files Browse the repository at this point in the history
Update target name for Linux
  • Loading branch information
Codemonkey1973 authored Dec 5, 2023
2 parents b4d01ae + ccd9bae commit 7b2f2f1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@
#
############################################################################

TARGET=occ.exe
TARGET_WIN=occ.exe
TARGET_LINUX=occ

CC=gcc

all:
ifeq ($(OS),Windows_NT)
$(CC) -o $(TARGET) main.c orlaco.c -lws2_32
$(CC) -o $(TARGET_WIN) main.c orlaco.c -lws2_32
else
$(CC) -o $(TARGET) main.c orlaco.c
$(CC) -o $(TARGET_LINUX) main.c orlaco.c
endif

clean:
rm -rf $(TARGET)
rm -rf $(TARGET_WIN) $(TARGET_LINUX)

0 comments on commit 7b2f2f1

Please sign in to comment.