mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-03-30 14:00:16 +02:00
16 lines
348 B
C
16 lines
348 B
C
//clang main.c -o $PWD/executable -L. -l1
|
|
//codesign -s IDENTITY --option=runtime -f executable
|
|
#include <stdio.h>
|
|
#include "lib1.h"
|
|
|
|
int main() {
|
|
printf("Main program\n");
|
|
printf("Press enter to call lib1.dylib function...\n");
|
|
getchar();
|
|
callLib1Function();
|
|
printf("Press Enter to exit...\n");
|
|
getchar();
|
|
return 0;
|
|
}
|
|
|